package club.dmyang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by brss on 2018/7/12.
 */
@SpringBootApplication
@MapperScan(basePackages = {"club.dmyang.dao"})
@EnableTransactionManagement //开启事物控制
public class HyBlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(HyBlogApplication.class,args);
    }
}
